﻿using oldislandapi.Models;

namespace oldislandapi.DTO
{
    /// <summary>
    /// 期刊
    /// </summary>
    public class ClassicDto
    {
        /// <summary>
        /// 期刊在数据中序号，供点赞使用
        /// </summary>
        public int id { get; set; }
        /// <summary>
        /// 期刊内容
        /// </summary>
        public string content { get; set; }
        /// <summary>
        /// 点赞次数
        /// </summary>
        public int fav_nums { get; set; }
        /// <summary>
        /// 期刊封面
        /// </summary>
        public string image { get; set; }
        /// <summary>
        /// 期号
        /// </summary>
        public int index { get; set; }
        /// <summary>
        /// 是否点赞
        /// </summary>
        public bool like_status { get; set; }
        /// <summary>
        /// 发布日期
        /// </summary>
        public string pubdate { get; set; }
        /// <summary>
        /// 期刊题目
        /// </summary>
        public string title { get; set; }
        /// <summary>
        /// 期刊类型,这里的类型分为:100 电影 200 音乐 300 句子
        /// </summary>
        public ClassicType type { get; set; }
        /// <summary>
        /// 音乐和电影文件路径
        /// </summary>
        public string url { get; set; }
    }
}
